projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be5d0c0
)
Fix bug with deactivation of mark in 'cua-cancel'
author
Andrew Burgess
<andrew.burgess@embecosm.com>
Sun, 7 Jun 2020 08:20:19 +0000
(09:20 +0100)
committer
Eli Zaretskii
<eliz@gnu.org>
Sat, 20 Jun 2020 07:41:56 +0000
(10:41 +0300)
* lisp/emulation/cua-base.el (cua-cancel): Use 'deactivate-mark'
instead of setting 'mark-active' directly.
Copyright-paperwork-exempt: yes
lisp/emulation/cua-base.el
patch
|
blob
|
history
diff --git
a/lisp/emulation/cua-base.el
b/lisp/emulation/cua-base.el
index 26a1a8955f4f6f60fb53175cb634f8d10ad406fe..c4dcb76446efc6946be672ef5be906d0d52277cb 100644
(file)
--- a/
lisp/emulation/cua-base.el
+++ b/
lisp/emulation/cua-base.el
@@
-860,7
+860,7
@@
With numeric prefix arg, copy to register 0-9 instead."
(defun cua-cancel ()
"Cancel the active region, rectangle, or global mark."
(interactive)
- (
setq mark-active nil
)
+ (
deactivate-mark
)
(if (fboundp 'cua--cancel-rectangle)
(cua--cancel-rectangle)))